package com.freecloud.bitorrent.domain.server.support;

import com.freecloud.bitorrent.demo.bo.RequestMessage;
import com.freecloud.bitorrent.demo.bo.ResponseMessage;

/**
 * @Author: maomao
 * @Date: 2022/7/18 6:49 PM
 */
public interface DhtCommand {

    /**
     * 外部请求，返回要回复的信息
     *
     * @param requestMessage
     * @return
     */
    ResponseMessage response(RequestMessage requestMessage);

}
